package org.jeecg.modules.xl.order.service;

import org.jeecg.modules.xl.h5api.vo.CornerNum;
import org.jeecg.modules.xl.order.dto.OrderDetailNew;
import org.jeecg.modules.xl.order.entity.XlCustomerOrderDetail;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;

/**
 * @Description: xl_customer_order_detail
 * @Author: jeecg-boot
 * @Date:   2024-10-20
 * @Version: V1.0
 */
public interface IXlCustomerOrderDetailService extends IService<XlCustomerOrderDetail> {

	/**
	 * 通过主表id查询子表数据
	 *
	 * @param mainId 主表id
	 * @return List<XlCustomerOrderDetail>
	 */
	public List<XlCustomerOrderDetail> selectByMainId(String mainId);

	/**
	 * 订单商品未发货明细
	 * @param id
	 * @return
	 */
    List<XlCustomerOrderDetail> queryOrderDetailNotShipmentById(String id);

	List<OrderDetailNew> queryNewOrderDetail(String ordercode);

    List<CornerNum> getCornerNum(String mystoreStr);
}
